package com.scedu.luckeymoney;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.math.BigDecimal;
@ConfigurationProperties(prefix = "limit")
@Component
public class LimitConfig {
    private BigDecimal minMoney;
    private BigDecimal msxMoney;
    private String descraption;

    public BigDecimal getMinMoney() {
        return minMoney;
    }

    public void setMinMoney(BigDecimal minMoney) {
        this.minMoney = minMoney;
    }

    public BigDecimal getMsxMoney() {
        return msxMoney;
    }

    public void setMsxMoney(BigDecimal msxMoney) {
        this.msxMoney = msxMoney;
    }

    public String getDescraption() {
        return descraption;
    }

    public void setDescraption(String descraption) {
        this.descraption = descraption;
    }
}
